package com.radiation.rms.common;

/**
 * @author 10626
 */
public class RMSDictionary {
    public static final String MAIN_CONTRACT = "1";
    public static final String SECONDARY_CONTRACT = "0";

    public enum deviceEnum {
        /**
         *
         */
        DEVICE_PREFIX("设备前缀", "device:"),
        DEVICE_NORMAL("生效", "1"),
        DEVICE_ABNORMAL("异常", "0")
        ;

        private String name;
        private String code;

        deviceEnum(String name, String code) {
            this.code = code;
            this.name = name;
        }

        public String getName() {
            return name;
        }

        public String getCode() {
            return code;
        }
    }
    public enum CertificateType {
        /**
         *
         */
        RESIDENTIDENTITYCARD("居民身份证", "0"),
        PASSPORT("护照", "1"),
        SOCIALCREDITCODE("企业统一社会信用代码", "N"),
        SPQ003("SPQ003", "贷款申请"),
        SPQ004("SPQ004", "查询贷款账户信息"),
        SPQ005("SPQ005", "还款计划查询。"),
        SPQ006("SPQ006", "查询放款状态。"),
        FILEDOWN("FileDown", "清分文件上传"),
        IMAGETRANSMISSION("imagetransmission", "清分结果自取"),
        GETFILE("getfile", "清分结果自取"),
        SPQ010("SPQ010", "准贷实时查询+征信白名单导入 。");

        private String name;
        private String code;

        CertificateType(String name, String code) {
            this.code = code;
            this.name = name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setCode(String code) {
            this.code = code;
        }
    }
    public enum ContractStatus {
        /**
         *
         */
        UNDONE("未完成", "0"),
        COMPLETED("已完成", "1"),
        REJECTED("已拒绝", "2"),
        SIGNING("正在签署", "3"),
        LOCKPENDING("锁定待签", "4");
        private String name;
        private String code;

        ContractStatus(String name, String code) {
            this.code = code;
            this.name = name;
        }

        public String getName() {
            return name;
        }

        public String getCode() {
            return code;
        }
    }

    public enum ContractType {
        /**
         *
         */
        LOAN("借款合同", "JK"),
        LEASE("租赁合同", "ZL"),
        FINANCELEASE("融资租赁合同", "RZZL"),
        OTHER("其他合同", "QT"),
        LOCKPENDING("锁定待签", "4");
        private String name;
        private String code;

        ContractType(String name, String code) {
            this.code = code;
            this.name = name;
        }

        public String getName() {
            return name;
        }

        public String getCode() {
            return code;
        }
    }
    public enum BankType {
        /**
         *
         */
        CCBD("中国建设银行--贷款", 22),
        CBC("中国建设银行--贴现(不测)", 23),
        SJH("速嘉-回款", 24);
        private String name;
        private Integer code;

        BankType(String name, Integer code) {
            this.code = code;
            this.name = name;
        }

        public String getName() {
            return name;
        }

        public Integer getCode() {
            return code;
        }
    }
}
